from multiprocessing import Process


def func(i):
    print(f"子进程{i}执行了！")
    while True:
        pass


if __name__ == '__main__':
    for i in range(1, 13):
        p = Process(target=func, args=(i,))
        p.start()
